TestSuite

An opaque structure representing a test suite.

Constructors

this
this(GTestSuite* gTestSuite, bool ownedRef)

Sets our main struct and passes it to the parent class.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

add
void add(TestCase testCase)

Adds @test_case to @suite.

addSuite
void addSuite(TestSuite nestedsuite)

Adds @nestedsuite to @suite.

free
void free()

Free the @suite and all nested #GTestSuites.

getStruct
void* getStruct()

the main Gtk struct as a void*

getTestSuiteStruct
GTestSuite* getTestSuiteStruct(bool transferOwnership)

Get the main Gtk struct

Variables

gTestSuite
GTestSuite* gTestSuite;

the main Gtk struct

ownedRef
bool ownedRef;
Undocumented in source.

Meta